package com.yunxi.poc.starbucks.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yunxi.poc.starbucks.entity.Order;

import java.time.LocalDateTime;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author shiyuan.xlc
 * @since 2021-08-12
 */
public interface IOrderService extends IService<Order> {

    /**
     * 获取最近的一笔制作完成订单
     *
     * @param compareTo
     * @return
     */
    Order getLatestMakeFinishOrder(LocalDateTime compareTo, String storeId);

}
